package com.peas.platform.module.icims.budget.ysy.controller.vo;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("预算域配置")
public class BudgetYsyConfigVo extends BaseVo {

    @ApiModelProperty(value = "系统地址", notes = "")
    @Size(max = 100, message = "系统地址不能超过100个字符")
    private String address;

    @ApiModelProperty(value = "系统端口", notes = "")
    @Size(max = 6, message = "系统端口不能超过6个字符")
    private String port;

    @ApiModelProperty(value = "登录url", notes = "")
    @Size(max = 300, message = "登录url不能超过300个字符")
    private String login;

    @ApiModelProperty(value = "用户名", notes = "")
    @Size(max = 100, message = "用户名不能超过100个字符")
    private String username;

    @ApiModelProperty(value = "密码", notes = "")
    @Size(max = 500, message = "密码不能超过500个字符")
    private String password;

}
